package com.thd.springboottest.security.service;


import com.thd.springboottest.security.entity.User;

/**
 * com.thd.springboot.framework.shiro.service.ShiroService
 *
 * @author: wanglei62
 * @DATE: 2020/5/7 17:41
 **/
public interface UserService {
    /**
     * 根据账号获取用户
     * @param account
     * @return
     */
    public User loadUserByAccount(String account);

    /**
     * 根据手机号获取用户
     * @param phone
     * @return
     */
    public User loadUserByPhone(String phone);

}
